$(function() {
    table.option={
        datatype: {
            inputType:"payOrder",//传给后台的input框的key值
            roleType: "roleName"//传给后台的复选框的key值
        }//设置编辑 增加像后台发送的数据key的值
    }
    table.loadding();

    modelSave.option={
        addSave:"/payOrder/addSave",
        ediSave:"/payOrder/edit/ok",
        delSave:"/payOrder/del"
    }
    modelSave.loadding();

    pagination.option={
        isPagination:false,
        firstPagination:"payOrder/first",
        lastPagination:"payOrder/last",
        prePagination:"payOrder/pre",
        nextPagination:"payOrder/next"
    }
    pagination.loadding();

    $(".td-detail").bind("click",function () {
        //默认第一个为guid字符串
        var guidStr = $(this).parents("tr").find(".table-content").eq(0).html();
        $(this).attr("href","/pPayOrderBill/list?billGuid="+guidStr);
    })
})